home *** CD-ROM | disk | FTP | other *** search
- Path: gryphon.phoenix.net!usenet
- From: brucew@phoenix.net (Bruce Wedding)
- Newsgroups: comp.lang.c
- Subject: Re: Clearing the keyboard buffer
- Date: Tue, 23 Jan 1996 03:18:56 GMT
- Organization: BranPaul Systems
- Message-ID: <4e1hpr$s1b@gryphon.phoenix.net>
- References: <4dtqi4$60u@cdc2.cdc.net> <4e18m5$on1@gryphon.phoenix.net>
- NNTP-Posting-Host: dial135.phoenix.net
- X-Newsreader: Moe's Newsreader
-
- brucew@phoenix.net (Bruce Wedding) wrote:
-
-
- >I'll probably be flamed for mentioning this, but I'm going to anyway.
- >This is not STANDARD, in fact according to the ANSI Standard, it
- >results in undefined behavior. That ought to satisfy the pedants.
-
- >fflush(stdin); /* will flush the keyboard in Turbo C */
-
- Just a note to say that I didn't realize this guy crossposted
- all over creation. I was answering in an ms dos group. No
- flames necessary.
-
-
- Bruce D. Wedding Have Compiler, Will Travel!
- Perspicacious Programming Performed Promptly
- Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
-
-